//
//  UserBSCheckDeleteTicket.m
//  Teacher
//
//  Created by 李飞 on 15/10/30.
//  Copyright (c) 2015年 xueyinyue. All rights reserved.
//

#import "UserBSCheckDeleteTicket.h"
#import "ApplicationContext.h"
#import "ApiConfig.h"

@implementation UserBSCheckDeleteTicket

- (id)onExecute
{
    NSLog(@"_ticketNumber!!!!!!%@",_ticketNumber);
    
    NSDictionary *params = @{@"token":[ApplicationContext instance].token,
                                                    @"ticketNumber":_ticketNumber,
                                                    @"systemType":kSystemType,
                                                    @"versionCode":kVersionCode};
    
    id result = [self remoteJSON:@"POST" url:[ApiConfig urlApiCheckDeleteTicket] params:params];
    
    UserBSCheckDeleteTicketResult *serviceResult = [[UserBSCheckDeleteTicketResult alloc] init];
    
    serviceResult.message = result[@"msg"];

    return serviceResult;
}

@end

@implementation UserBSCheckDeleteTicketResult

@end